Skip to content

chore: 🐝 Update SDK - Generate 5.0.0#113

Open
github-actions[bot] wants to merge 1 commit intomainfrom
speakeasy-sdk-regen-1743448946
Open

chore: 🐝 Update SDK - Generate 5.0.0#113
github-actions[bot] wants to merge 1 commit intomainfrom
speakeasy-sdk-regen-1743448946

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Mar 31, 2025

SDK update

Versioning

Version Bump Type: [major] - 🤖 (automated)

Linting Report 0 errors, 173 warnings, 23 hints

View full report

PYTHON CHANGELOG

constsAndDefaults: 1.0.7 - 2026-02-21

🐛 Bug Fixes

  • coerce type-mismatched default values instead of clearing them to prevent invalid generated code (commit by @danielkov)

constsAndDefaults: 1.0.6 - 2026-01-15

🐛 Bug Fixes

  • omit enum default when value is not in enum to prevent type errors in generated code (commit by @mfbx9da4)

core: 6.0.16 - 2026-03-04

🐛 Bug Fixes

  • include global security in SDK Example Usage snippets and per-operation docs (commit by @mfbx9da4)

core: 6.0.15 - 2026-02-27

🐛 Bug Fixes

  • make serverURL optional when operations define their own servers (commit by @danielkov)

core: 6.0.14 - 2026-02-27

🐛 Bug Fixes

  • derive installation URL from repo URL for monorepo subdirectory support (commit by @bradcypert)

core: 6.0.12 - 2026-02-18

🐝 New Features

  • move large-model splitting from templates to Go bucketing layer to prevent compiler complexity limits (commit by @vishalg0wda)

core: 6.0.11 - 2026-02-18

🐛 Bug Fixes

  • TypedDict companion class naming now uses cascading PascalCase suffixes (TypedDictModel, TypedDictCompanion, TypedDictCompanionModel, TypedDict{n}) instead of underscore-prefixed _TypedDict when the default name collides with another schema type — this restores strict PascalCase pylint compliance without weakening lint rules (commit by @danielkov)

core: 6.0.10 - 2026-02-18

🐛 Bug Fixes

  • schemas with inline enum fields named 'tag' no longer get incorrectly renamed to 'TagT' — the generator now only disambiguates when pydantic's Tag import actually conflicts in the same file, falling back to namespace import (pydantic.Tag) instead of mangling the class name (commit by @danielkov)

core: 6.0.9 - 2026-02-18

🐛 Bug Fixes

  • fix getattr return type, sanitize Python builtin names, fix empty response bodies in unions, deduplicate OAuth2 scope enum members (commit by @danielkov)

core: 6.0.8 - 2026-02-17

🐝 New Features

  • allow repoUrl and repoSubDirectory to be configured via gen.yaml generation section (commit by @vishalg0wda)

core: 6.0.7 - 2026-02-16

🐛 Bug Fixes

  • retry all transient network errors (NetworkError, TimeoutException) instead of only ConnectError and TimeoutException (commit by @danielkov)

core: 6.0.6 - 2026-02-14

🐛 Bug Fixes

  • resolve namespace import collisions by using root package import strategy, gated behind fixFlags.conflictResistantModelImportsFeb2026 in gen.yaml (commit by @mfbx9da4)

♻️ Refactors

  • extract duplicated dynamic_import, __getattr__, and __dir__ helpers from __init__.py templates into a shared utils/dynamic_imports.py module, reducing code duplication across generated package init files

core: 6.0.5 - 2026-02-12

🐛 Bug Fixes

  • resolve missing pydantic field aliases when using from future import annotations (commit by @AshGodfrey)

core: 6.0.3 - 2026-02-05

🐛 Bug Fixes

  • add 'request' to reserved parameter keywords as it can shadow request information (commit by @ThomasRooney)

core: 6.0.4 - 2026-02-04

🐝 New Features

  • forwardCompatibleEnumsByDefault config field is now available (commit by @mfbx9da4)

core: 6.0.2 - 2026-01-29

🐛 Bug Fixes

  • avoid overwriting SubSDK comments with empty comments when same SubSDK is referenced by multiple tags (commit by @mfbx9da4)

core: 6.0.1 - 2026-01-29

🐛 Bug Fixes

  • update Discriminator.Mapping when cloning error union children (commit by @mfbx9da4)

core: 6.0.0 - 2026-01-27

🐝 New Features

  • drop Python 3.9 support, require Python 3.10+ (commit by @AshGodfrey)

core: 5.23.18 - 2026-01-12

🐛 Bug Fixes

  • Further tune media type matching expression for ReDoS (commit by @bflad)

core: 5.23.17 - 2026-01-07

🐛 Bug Fixes

  • Prevent ReDoS vulnerability report for media type matching expression (commit by @bflad)

core: 5.23.16 - 2025-12-19

🐛 Bug Fixes

  • remove non-determinism from rare interaction with readonly/writeonly fields (commit by @ThomasRooney)

core: 5.23.15 - 2025-12-18

🐛 Bug Fixes

  • fixed escaping of template braces in defaults, consts, and comments (commit by @tristanspeakeasy)

core: 5.23.14 - 2025-12-09

🐝 New Features

  • add constFieldCasing config option to control const field casing (upper or normal) (commit by @mfbx9da4)

core: 5.23.12 - 2025-11-25

🐝 New Features

  • allow inclusion of empty array query parameter (commit by @idbentley)

core: 5.23.11 - 2025-11-24

🐝 New Features

  • union discriminators are inferred for oneOfs missing the explicit OpenAPI discriminator mapping. Configure via inferUnionDiscriminators: true in gen.yaml (commit by @mfbx9da4)

core: 5.23.10 - 2025-11-18

🐛 Bug Fixes

  • sanitize Python reserved keywords in method names to prevent syntax errors (commit by @AshGodfrey)

core: 5.23.9 - 2025-11-17

🐛 Bug Fixes

core: 5.23.8 - 2025-11-14

🐛 Bug Fixes

  • return type when 'sseFlatResponse: true' and response has data field (commit by @mfbx9da4)
  • improved type accuracy for response bodies - they now correctly return the actual type instead of being wrapped in Optional[] (commit by @mfbx9da4)

core: 5.23.7 - 2025-11-13

🐝 New Features

  • allow license to be defined in pyproject.toml's project field (commit by @walker-tx)

core: 5.23.6 - 2025-11-10

🐛 Bug Fixes

  • handle application/* encoding in multipart forms (commit by @danielkov)

core: 5.23.13 - 2025-11-06

🐛 Bug Fixes

  • multi-part arrays now serialized according to RFC7578 (commit by @danielkov)

core: 5.23.5 - 2025-11-05

🐝 New Features

  • support body field name configuration via requestBodyFieldName in gen.yaml (commit by @subomi)

core: 5.23.4 - 2025-11-03

🐛 Bug Fixes

  • Python generation no longer fails on recursive types (commit by @danielkov)

core: 5.23.3 - 2025-11-02

🐛 Bug Fixes

  • closed nullable enum serialization (commit by @mfbx9da4)

core: 5.23.2 - 2025-10-30

🐛 Bug Fixes

  • make security scheme resolution case-insensitive (commit by @vishalg0wda)

core: 5.23.1 - 2025-10-30

🐛 Bug Fixes

  • handle both closed and open enum serialization (commit by @idbentley)

core: 5.23.0 - 2025-10-13

🐝 New Features

  • add config option for deep merging allOf nodes in OpenAPI specs (commit by @BlakeTheAwesome)

core: 5.22.1 - 2025-09-30

🐛 Bug Fixes

  • correct import aliasing when SDK class members conflict with model names in Python templates (commit by @BlakeTheAwesome)

core: 5.22.0 - 2025-09-24

🐝 New Features

  • allow generation of sync, async or both methods in an sdk (commit by @tristanspeakeasy)

core: 5.21.1 - 2025-09-23

🐛 Bug Fixes

  • allow input/output models without suffixes (commit by @disintegrator)

core: 5.21.0 - 2025-09-12

🐝 New Features

  • Change the default behaviour of http-client within python sdk to follow redirects (commit by @Kanwardeep)

core: 5.20.4 - 2025-09-09

🐛 Bug Fixes

  • improve python tool reliability with explicit module calls (commit by @GorshkovIvan)

core: 5.20.3 - 2025-09-02

🐛 Bug Fixes

  • enabled empty strings to be used as end cursor values in pagination (commit by @GorshkovIvan)

core: 5.20.2 - 2025-09-01

🔧 Chores

  • added support for lowercase Bearer tokens in Authorization headers (commit by @GorshkovIvan)

core: 5.20.1 - 2025-08-27

🐛 Bug Fixes

  • capability to enable shadowing parameters that are usually reserved via allowedRedefinedBuiltins (commit by @ThomasRooney)

core: 5.19.11 - 2025-08-27

🐛 Bug Fixes

  • Add retries to dynamic imported modules in python to fix keyError when loading modules (commit by @Kanwardeep)

core: 5.19.10 - 2025-08-20

🔧 Chores

  • mitigate asyncio internal test flakiness (commit by @GorshkovIvan)

core: 5.19.9 - 2025-08-11

🐛 Bug Fixes

  • support repository subdirectories in PyPI documentation links (commit by @AshGodfrey)

core: 5.20.0 - 2025-08-08

🐝 New Features

  • support for uv package manager (commit by @mfbx9da4)

core: 5.19.7 - 2025-08-06

🐛 Bug Fixes

  • add return type hint for methods returning None (commit by @AshGodfrey)

core: 5.19.6 - 2025-08-01

🐛 Bug Fixes

  • potential issue referencing models before declaration (commit by @mfbx9da4)

core: 5.19.5 - 2025-07-24

🔧 Chores

core: 5.19.4 - 2025-07-02

🐛 Bug Fixes

  • ensure utils import is always added when globals are present in sdk.py template (commit by @AshGodfrey)

core: 5.19.3 - 2025-06-06

🐛 Bug Fixes

core: 5.19.2 - 2025-06-04

🐛 Bug Fixes

  • Prevent local installation issues with README-PYPI.md (commit by @bflad)

core: 5.19.1 - 2025-05-29

🐛 Bug Fixes

  • Update h11 and httpcore dependencies to avoid h11 security issue [force-gen] (commit by @Kanwardeep)

core: 5.19.0 - 2025-05-20

🐝 New Features

  • Enable module lazy loading. This leads to faster module import times (commit by @Kanwardeep)

core: 5.18.1 - 2025-05-15

🐛 Bug Fixes

  • Prevent AsyncClient.aclose() not awaited warnings (commit by @bflad)

core: 5.18.0 - 2025-05-12

🐝 New Features

  • upgrade minimum python version to 3.9.2 (commit by @simplesagar)

core: 5.17.2 - 2025-05-07

🐛 Bug Fixes

  • fixed stability of generated examples using operation and field seeds, including fixes to union examples (commit by @tristanspeakeasy)

core: 5.17.1 - 2025-05-04

🐛 Bug Fixes

  • Revert the commit which introduced moduleName change (commit by @Kanwardeep)

core: 5.17.0 - 2025-04-30

🐝 New Features

  • adding the ability to choose module name by adding a new key in gen.yaml (commit by @Kanwardeep)

core: 5.16.1 - 2025-04-23

🐛 Bug Fixes

  • improved python http client finalizer to avoid testing issues (commit by @tristanspeakeasy)

core: 5.16.0 - 2025-04-18

🐝 New Features

  • Remove typing-inspection dependency (commit by @bflad)

core: 5.15.0 - 2025-04-17

🐝 New Features

  • Remove python-dateutil dependency (commit by @bflad)

core: 5.14.0 - 2025-04-15

🐝 New Features

  • Upgrade mypy to 1.15 for performance and correctness improvements (commit by @bflad)

core: 5.12.7 - 2025-04-11

🐛 Bug Fixes

  • increase stability of generator model file names (commit by @vishalg0wda)

core: 5.13.0 - 2025-04-07

🐝 New Features

  • Improve memory utilization and startup time with Pydantic 2.11 upgrade (commit by @bflad)

core: 5.12.6 - 2025-04-03

🐛 Bug Fixes

  • improve performance of generation on multicore machines and various fixes to correctness based on order of generation (commit by @tristanspeakeasy)

core: 5.12.5 - 2025-03-28

🐛 Bug Fixes

  • Prevent Pydantic 2.11 deprecation warnings with model_fields usage in models (commit by @bflad)

decimal: 1.0.0 - 2024-07-04

🐝 New Features

enumUnions: 0.1.1 - 2026-03-06

🐛 Bug Fixes

  • show literal values in enum docs when enumFormat is union (commit by @bflad)

globalSecurity: 3.0.5 - 2026-02-03

🐝 New Features

  • support x-speakeasy-name-override on security scheme options (commit by @tristanspeakeasy)

globalSecurity: 3.0.4 - 2025-09-10

🔧 Chores

  • support opting out of operation security hoisting (commit by @vishalg0wda)

globalServerURLs: 3.2.1 - 2026-02-27

🐛 Bug Fixes

  • don't show global server URL in examples when operation has its own servers (commit by @tristanspeakeasy)

globalServerURLs: 3.2.0 - 2025-10-22

🐝 New Features

  • Allow server selection to appear in all code samples (commit by @BlakeTheAwesome)

globalServerURLs: 3.1.1 - 2025-05-09

🐛 Bug Fixes

nameOverrides: 3.0.3 - 2026-02-19

🐝 New Features

  • add support for renaming object properties that reference a shared component (commit by @2ynn)

nameOverrides: 3.0.2 - 2026-02-19

🐛 Bug Fixes

  • set fixes.nameOverrideFeb2026 to true in gen.yaml to prevent x-speakesy-name-override from propagating through resolution or allOf merging (commit by @2ynn)

nullables: 1.0.2 - 2026-01-12

🐛 Bug Fixes

  • Add custom serialization method for models where optional (but no nullable) fields are present (commit by @2ynn)

responseFormat: 1.1.0 - 2026-01-22

🔧 Chores

  • remove redundant headers field in envelope-http response (commit by @2ynn)

retries: 3.0.4 - 2026-02-17

🐛 Bug Fixes

  • retry all transient network errors, not just ConnectError and TimeoutException (commit by @danielkov)

retries: 3.0.3 - 2025-11-20

🐝 New Features

  • add support for Retry-After header (commit by @2ynn)

sdkHooks: 1.2.1 - 2026-01-14

🐝 New Features

  • add async hooks support for non-blocking I/O in async SDK methods; sync hooks now execute in a dedicated thread when async hooks are disabled (commit by @vishalg0wda)

sdkHooks: 1.2.0 - 2025-10-15

🐝 New Features

  • expose available OAuth 2.0 scopes for use in custom hooks (commit by @2ynn)

sdkHooks: 1.1.0 - 2025-05-15

🐝 New Features

unions: 3.1.4 - 2026-02-14

🐛 Bug Fixes

  • handle open enum discriminators in unions by falling back to plain Union type (commit by @danielkov)

unions: 3.1.3 - 2026-02-10

🐝 New Features

  • add forward-compatible open discriminated unions with Unknown fallback models (commit by @vishalg0wda)
  • Controlled globally via forwardCompatibleUnionsByDefault: tagged-only in gen.yaml, or per-union with x-speakeasy-unknown-values: allow/disallow.

unions: 3.1.2 - 2026-01-13

🐛 Bug Fixes

  • always reference discriminated union members directly (commit by @danielkov)

unions: 3.1.1 - 2025-12-08

🐝 New Features

  • simplify syntax of discriminated unions when discriminator const is already present on the underlying types (commit by @mfbx9da4)
  • Support for applyUnionDiscriminators: true configurable via gen.yaml. When true, discriminator values will be applied as const fields onto union member types. If the type is used outside of a union, the const will not be applied.

unions: 3.1.0 - 2025-10-01

🐝 New Features

  • support nested discriminated unions (commit by @vishalg0wda)

unions: 3.0.5 - 2025-09-25

🐛 Bug Fixes

Based on Speakeasy CLI 1.749.0


Note

Low Risk
Low risk change limited to updating .gitignore patterns; no runtime code or behavior is affected.

Overview
Updates .gitignore to exclude additional local/environment and build outputs from version control, including .env files, IDE/module files (e.g., *.iml), and common build directories (build, dist, out).

Written by Cursor Bugbot for commit 99f13d0. This will update automatically on new commits. Configure here.

@github-actions github-actions bot requested a review from andyatshippo as a code owner March 31, 2025 19:23
@github-actions github-actions bot added the patch Patch version bump label Mar 31, 2025
@rkeur7 rkeur7 closed this Apr 2, 2025
@rkeur7 rkeur7 reopened this Apr 2, 2025
@github-actions
Copy link
Contributor Author

github-actions bot commented Apr 2, 2025

Tests Skipped Failures Errors Time
17 7 💤 0 ❌ 0 🔥 19.805 ⏱

@rkeur7 rkeur7 requested a review from Copilot April 2, 2025 18:18
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the Shippo SDK version from 4.0.0 to 4.0.1 in multiple configuration and documentation files. It ensures consistency across version identifiers, release notes, and code sample registry configuration.

  • Updated version strings in src/shippo/_version.py and pyproject.toml
  • Added new release details in RELEASES.md
  • Modified code sample registry URL in .speakeasy/workflow.yaml and bumped the Python generator version in .speakeasy/gen.yaml

Reviewed Changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/shippo/_version.py Updated version, generator version, and user agent string
pyproject.toml Updated project version
RELEASES.md Added new release notes for version 4.0.1
.speakeasy/workflow.yaml Changed registry location for code samples
.speakeasy/gen.yaml Updated Python version to 4.0.1

@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1743448946 branch from ba33ab5 to b2e38ba Compare April 7, 2025 00:10
@rkeur7 rkeur7 closed this Apr 9, 2025
@rkeur7 rkeur7 reopened this Apr 9, 2025
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1743448946 branch from b2e38ba to c427082 Compare April 14, 2025 00:10
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1743448946 branch from c427082 to 651a9ea Compare April 21, 2025 00:10
@github-actions github-actions bot changed the title chore: 🐝 Update SDK - Generate 4.0.1 chore: 🐝 Update SDK - Generate 4.1.0 Apr 21, 2025
@github-actions github-actions bot added minor Minor version bump and removed patch Patch version bump labels Apr 21, 2025
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1743448946 branch from 651a9ea to ba9514e Compare April 28, 2025 00:10
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1743448946 branch 2 times, most recently from 6ad2ec6 to b29963a Compare May 12, 2025 00:10
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1743448946 branch 2 times, most recently from 4439098 to b8f1f4a Compare May 26, 2025 00:10
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1743448946 branch from b8f1f4a to caab470 Compare June 2, 2025 00:10
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1743448946 branch from caab470 to be2ca85 Compare June 9, 2025 00:10
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1743448946 branch from be2ca85 to 5045da4 Compare June 16, 2025 00:10
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1743448946 branch 2 times, most recently from 04afe5f to b8e54a9 Compare June 30, 2025 00:11
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1743448946 branch 2 times, most recently from 3588ba3 to ecf02a5 Compare July 14, 2025 00:11
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1743448946 branch 2 times, most recently from dcffd2a to 9fd1213 Compare July 28, 2025 00:11
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1743448946 branch from 9fd1213 to 9e2b9f6 Compare August 4, 2025 00:11
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1743448946 branch from b08ea16 to 1782536 Compare November 17, 2025 00:10
@github-actions github-actions bot changed the title chore: 🐝 Update SDK - Generate 4.1.0 chore: 🐝 Update SDK - Generate 4.1.1 Nov 17, 2025
@github-actions github-actions bot added patch Patch version bump and removed minor Minor version bump labels Nov 17, 2025
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1743448946 branch from 1782536 to 87673bf Compare November 24, 2025 00:11
@github-actions github-actions bot changed the title chore: 🐝 Update SDK - Generate 4.1.1 chore: 🐝 Update SDK - Generate 4.1.0 Nov 24, 2025
@github-actions github-actions bot added minor Minor version bump and removed patch Patch version bump labels Nov 24, 2025
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1743448946 branch 2 times, most recently from ce83ea1 to ebe588e Compare December 8, 2025 00:11
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1743448946 branch from ebe588e to 260d504 Compare December 15, 2025 00:11
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1743448946 branch from 260d504 to d1937aa Compare December 22, 2025 00:12
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1743448946 branch from d1937aa to 76e6548 Compare December 29, 2025 00:12
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1743448946 branch 2 times, most recently from 83a6778 to 8bb4329 Compare January 12, 2026 00:12
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1743448946 branch from 8bb4329 to 851b1b3 Compare January 19, 2026 00:12
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1743448946 branch from 851b1b3 to cc3c715 Compare January 26, 2026 00:13
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1743448946 branch from cc3c715 to b59117f Compare February 2, 2026 00:14
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

@@ -1,3 +1,8 @@
**/__pycache__/
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Redundant gitignore entry for pycache

Low Severity

The newly added **/__pycache__/ pattern on line 1 makes the existing __pycache__/ entry on line 11 redundant. The **/ glob prefix matches at any directory level including root, so the more specific entry provides no additional coverage.

Fix in Cursor Fix in Web

@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1743448946 branch from b59117f to 90df4ad Compare February 9, 2026 00:15
@github-actions github-actions bot changed the title chore: 🐝 Update SDK - Generate 4.1.0 chore: 🐝 Update SDK - Generate 5.0.0 Feb 9, 2026
@github-actions github-actions bot added major Major version bump and removed minor Minor version bump labels Feb 9, 2026
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1743448946 branch 2 times, most recently from e4761f0 to 26a09f5 Compare February 23, 2026 00:14
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1743448946 branch from 26a09f5 to 3413c0c Compare March 2, 2026 00:13
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1743448946 branch from 3413c0c to 99f13d0 Compare March 9, 2026 00:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

major Major version bump

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants